import request from '@/utils/request'

// 查询技师信息列表
export function listCar_4s_technician_info(query) {
  return request({
    url: '/system/car_4s_technician_info/list',
    method: 'get',
    params: query
  })
}

// 查询技师信息详细
export function getCar_4s_technician_info(technicianId) {
  return request({
    url: '/system/car_4s_technician_info/' + technicianId,
    method: 'get'
  })
}

// 新增技师信息
export function addCar_4s_technician_info(data) {
  return request({
    url: '/system/car_4s_technician_info',
    method: 'post',
    data: data
  })
}

// 修改技师信息
export function updateCar_4s_technician_info(data) {
  return request({
    url: '/system/car_4s_technician_info',
    method: 'put',
    data: data
  })
}

// 删除技师信息
export function delCar_4s_technician_info(technicianId) {
  return request({
    url: '/system/car_4s_technician_info/' + technicianId,
    method: 'delete'
  })
}
